package com.lyz.subject.application.convert;

import com.lyz.subject.application.dto.SubjectLabelDto;
import com.lyz.subject.domain.entity.SubjectLabelBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 标签dto的转换
 *
 * @author: YizeLee
 * @date: 2024/3/12
 */
@Mapper
public interface SubjectLabelDtoConverter {

    SubjectLabelDtoConverter INSTANCE = Mappers.getMapper(SubjectLabelDtoConverter.class);

    SubjectLabelBo convertDtoToLabelBo(SubjectLabelDto subjectLabelDto);

    List<SubjectLabelDto> convertBoToLabelDtoList(List<SubjectLabelBo> boList);
}
